package com.yanqu.road.entity.activity.zhenhuan.secondProcess;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_u_zhenhuan_kick", desc = "甄嬛传第二阶段被踢数据")
public class UserZhenHuanKickData extends DataObject {
    @FieldTypeAnnotation(select = true, update = true, desc = "活动id")
    private int activityId;
    @FieldTypeAnnotation(select = true, update = true, desc = "用户id")
    private long userId;
    @FieldTypeAnnotation(update = true, desc = "茶话会id")
    private long partyId;
    @FieldTypeAnnotation(desc = "茶话会等级")
    private int partyLevel;
    @FieldTypeAnnotation( desc = "开茶话会的人")
    private long openUserId;
    @FieldTypeAnnotation(desc = "开茶话会的名字")
    private String openUserName;
    @FieldTypeAnnotation(update = true, desc = "踢人时间")
    private long kickTime;
    @FieldTypeAnnotation(desc = "踢人的玩家id")
    private long kickUserId;
    @FieldTypeAnnotation(desc = "确认的时间")
    private long confirmTime;
    @FieldTypeAnnotation(desc = "攻击方等级")
    private int attackLevel;
    @FieldTypeAnnotation(desc = "攻击方威望")
    private long attackPrestige;
    @FieldTypeAnnotation(desc = "自己被踢时的等级")
    private int defendLevel;
    @FieldTypeAnnotation(desc = "自己被踢时的威望")
    private long defendPrestige;
    @FieldTypeAnnotation(desc = "自己被踢时的位置")
    private int pos;

    public UserZhenHuanKickData() {
    }

    public UserZhenHuanKickData(int activityId, long userId, long partyId, long kickTime, long kickUserId, int attackLevel, long attackPrestige, int defendLevel, long defendPrestige, int pos, long openUserId, String openUserName, int partyLevel) {
        this.activityId = activityId;
        this.userId = userId;
        this.partyId = partyId;
        this.kickTime = kickTime;
        this.kickUserId = kickUserId;
        this.attackLevel = attackLevel;
        this.attackPrestige = attackPrestige;
        this.defendLevel = defendLevel;
        this.defendPrestige = defendPrestige;
        this.pos = pos;
        this.openUserId = openUserId;
        this.openUserName = openUserName;
        this.partyLevel = partyLevel;
        setInsertOption();
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getPartyId() {
        return partyId;
    }

    public void setPartyId(long partyId) {
        this.partyId = partyId;
    }

    public long getKickUserId() {
        return kickUserId;
    }

    public void setKickUserId(long kickUserId) {
        this.kickUserId = kickUserId;
    }

    public long getKickTime() {
        return kickTime;
    }

    public void setKickTime(long kickTime) {
        this.kickTime = kickTime;
    }

    public long getConfirmTime() {
        return confirmTime;
    }

    public void setConfirmTime(long confirmTime) {
        this.confirmTime = confirmTime;
        setUpdateOption();
    }

    public int getAttackLevel() {
        return attackLevel;
    }

    public void setAttackLevel(int attackLevel) {
        this.attackLevel = attackLevel;
    }

    public long getAttackPrestige() {
        return attackPrestige;
    }

    public void setAttackPrestige(long attackPrestige) {
        this.attackPrestige = attackPrestige;
    }

    public int getDefendLevel() {
        return defendLevel;
    }

    public void setDefendLevel(int defendLevel) {
        this.defendLevel = defendLevel;
    }

    public long getDefendPrestige() {
        return defendPrestige;
    }

    public void setDefendPrestige(long defendPrestige) {
        this.defendPrestige = defendPrestige;
    }

    public int getPos() {
        return pos;
    }

    public void setPos(int pos) {
        this.pos = pos;
        setUpdateOption();
    }

    public int getPartyLevel() {
        return partyLevel;
    }

    public void setPartyLevel(int partyLevel) {
        this.partyLevel = partyLevel;
    }

    public long getOpenUserId() {
        return openUserId;
    }

    public void setOpenUserId(long openUserId) {
        this.openUserId = openUserId;
    }

    public String getOpenUserName() {
        return openUserName;
    }

    public void setOpenUserName(String openUserName) {
        this.openUserName = openUserName;
    }
}
